import createAxios from '/@/utils/axios'

import { videoUrl } from '/@/api/controllerUrls'


export function uploadVideo(data: anyObj) {
    return createAxios({
        url: videoUrl + 'upload-video',
        method: 'post',
        headers:{
            'Content-Type' : 'multipart/form-data'
        },
        data: data
    })
}